import NoFound from '@/pages/global/NoFound'
import UnAccessible from '@/pages/global/UnAccessible'
import type { RunTimeLayoutConfig } from 'umi'

export const myLayout: RunTimeLayoutConfig = () => {
  return {
    title: 'antd_umi_react 模板',
    // 取消proLayout所以页面
    pure: true,
    // 自定义 403 页面
    unAccessible: <UnAccessible />,
    // 自定义 404 页面
    noFound: <NoFound />,
  }
}
